package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Notice;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface INoticeService {


    int deleteByPrimaryKey(Long id);

    Notice selectByPrimaryKey(Long id);

    PageInfo<Notice> queryForList(QueryObject qo);

    void saveOrUpdate(Notice record);

    void saveNoticeForAuthor(Long userId);

}
